package com.bonc.rms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface XDepartmentInfoMapper {
	// 工作年限分布
	int getAllWorkAgeByDate(@Param("dateSt") String dateSt,
			@Param("startTime") int startTime, @Param("entTime") int entTime,
			@Param("departmentIdList") List<Integer> departmentIdlist,
			@Param("size") int size);

	// 获取部门名称 
	String findNameById(@Param("departmentId") Integer departmentId);

	// 员工年龄分布 (年代分布)
	int getAllAge(@Param("i") int i,
			@Param("departmentIdList") List<Integer> departmentIdlist,
			@Param("size") int size);

}
